package com.lovo.dao;

import com.lovo.bean.UserInfoBean;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author bdk
 * @since 2021-03-02
 */
public interface IUserInfoDAO extends BaseMapper<UserInfoBean> {
    UserInfoBean selectByUserName(String userName);
    void deleteFromUserRoleByUserId(Long userId);
    void insertUserRole(Long userId,Long roleId);
}
